
// test.cpp : Defines the entry point for the console application.
//

#include "stdafx.h"
#include "..\winter\application.h"
#include "..\winter\form.h"
#include "..\winter\intrusive_ptr.h"
#include "..\winter\message_pump.h"
#include "..\winter\singleton.h"
#include "..\winter\synchronization.h"

#include <functional>

using namespace winter;
using namespace winter::platform;
using namespace winter::services;

int _tmain(int argc, _TCHAR* argv[])
{
  application* app = singleton<application>::instance();
  intrusive_ptr<form> form(new form());
  form->show();
  app->add_form(form.get());

  return app->run(L"");

  UNREFERENCED_PARAMETER(argc);
  UNREFERENCED_PARAMETER(argv);
}

